package com.dream.autoconfig.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @description: 工程配置
 * @author: LiMG
 * @create: 2025-05-06 16:35:02
 **/
@Component
@RefreshScope
@ConfigurationProperties(prefix = "app")
public class ProjectConfig {

    private String name;

    private String version;

    private String description;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
